import Mock from 'mockjs'

// item1
/*Mock.mock('/api/facilitatingAgency', 'get', () => {
  return {
    code: 200,
    message: 'success',
    data: [{
      title: '应收款',
      num: Mock.Random.integer(1000, 33333)
    }, {
      title: '应开票',
      num: Mock.Random.integer(1000, 33333)
    }]
  }
})*/

// item2
/* Mock.mock('/api/facilitatingAgency2', 'get', () => {
  return {
    code: 200,
    message: 'success',
    data: [{
      name: '2020',
      value: Mock.Random.integer(100, 1000),
      value2: Mock.Random.integer(100, 1000),
      value3: Mock.Random.integer(100, 1000),
      value4: Mock.Random.integer(100, 1000),
      value5: Mock.Random.integer(100, 1000),
    }, {
      name: '2021',
      value: Mock.Random.integer(100, 1000),
      value2: Mock.Random.integer(100, 1000),
      value3: Mock.Random.integer(100, 1000),
      value4: Mock.Random.integer(100, 1000),
      value5: Mock.Random.integer(100, 1000),
    }, {
      name: '2022',
      value: Mock.Random.integer(100, 1000),
      value2: Mock.Random.integer(100, 1000),
      value3: Mock.Random.integer(100, 1000),
      value4: Mock.Random.integer(100, 1000),
      value5: Mock.Random.integer(100, 1000),
    }, {
      name: '2023',
      value: Mock.Random.integer(100, 1000),
      value2: Mock.Random.integer(100, 1000),
      value3: Mock.Random.integer(100, 1000),
      value4: Mock.Random.integer(100, 1000),
      value5: Mock.Random.integer(100, 1000),
    }, {
      name: '2024',
      value: Mock.Random.integer(100, 1000),
      value2: Mock.Random.integer(100, 1000),
      value3: Mock.Random.integer(100, 1000),
      value4: Mock.Random.integer(100, 1000),
      value5: Mock.Random.integer(100, 1000),
    }]
  }
}) */

// item3
/* Mock.mock('/api/facilitatingAgency3', 'get', () => {
  return {
    code: 200,
    message: 'success',
    data: [{
      name: '张三',
      value: Mock.Random.integer(1, 100)
    }, {
      name: '李四',
      value: Mock.Random.integer(1, 500)
    }, {
      name: '王五',
      value: Mock.Random.integer(20, 50)
    }, {
      name: '赵六',
      value: Mock.Random.integer(10, 300)
    }, {
      name: '牛七',
      value: Mock.Random.integer(10, 500)
    }]
  }
}) */

// item4
/*Mock.mock('/api/facilitatingAgency4', 'get', () => {
  return {
    code: 200,
    message: 'success',
    data: [{
      name: '2021',
      value: Mock.Random.integer(1, 100),
      value2: Mock.Random.integer(1, 100),
      color1:"#6cbafa",
      color2:"#0770ea"
    }, {
      name: '2022',
      value: Mock.Random.integer(1, 500),
      value2: Mock.Random.integer(1, 100),
      color1:"#9cff8c",
      color2:"#06c000"
    }, {
      name: '2023',
      value: Mock.Random.integer(20, 50),
      value2: Mock.Random.integer(1, 100),
      color1:"#6cbafa",
      color2:"#0770ea"
    }, {
      name: '2024',
      value: Mock.Random.integer(10, 300),
      value2: Mock.Random.integer(1, 100),
      color1:"#9cff8c",
      color2:"#06c000"
    }, {
      name: '2025',
      value: Mock.Random.integer(10, 500),
      value2: Mock.Random.integer(1, 100),
      color1:"#6cbafa",
      color2:"#0770ea"
    }]
  }
})*/

// item5
/*Mock.mock('/api/facilitatingAgency5', 'get', () => {
  return {
    code: 200,
    message: 'success',
    data: [{
      name: '张三',
      value: Mock.Random.integer(10, 100)
    }, {
      name: '李四',
      value: Mock.Random.integer(10, 500)
    }, {
      name: '王五',
      value: Mock.Random.integer(20, 50)
    }, {
      name: '赵六',
      value: Mock.Random.integer(10, 300)
    }, {
      name: '牛七',
      value: Mock.Random.integer(10, 500)
    }, {
      name: '马八',
      value: Mock.Random.integer(10, 500)
    }, {
      name: '耿平',
      value: Mock.Random.integer(10, 500)
    }, {
      name: '耿平',
      value: Mock.Random.integer(10, 500)
    }]
  }
})*/

/* // item7
Mock.mock('/api/facilitatingAgency7', 'get', () => {
  const softwareTypeStatistics = Mock.mock({
    'data|7': [
      {
        'projectName|+1': ['麦沃克烟雾传感器1', '麦沃克烟雾传感器2', 'XX项目1', 'XX项目2', '麦沃克烟雾传感器2', 'XX项目1', 'XX项目2'],
        'num|10000-20000': 1,
        'projectType':'text',
        'reponsible':'张三',
        'progress|1000-200000':1,
        'status|1-3':1
      }
    ]
  }).data
  return {
    code: 200,
    message: 'success',
    data: softwareTypeStatistics
  }
}) */
